package com.cn.forum.dao;

import java.util.List;

import com.baijia.tianxiao.sqlbuilder.support.CommonDao;
import com.cn.forum.model.Article;

public interface ArticleDao extends CommonDao<Article> {

	List<Article> getPageArticle(int pageNum, int pageSize);

	List<Article> getChildrenArticle(List<Article> articleList);

    Integer getMainArticleNum();

	List<Article> getPageMyArticle(String myName,Integer pageNum,Integer pageSize);

	Integer getMyArticleNum(String userName);
}
